package com.lzm.ydpt.mvp.contract;

import com.byt.framlib.basemvp.BaseView;
import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.byt.framlib.basemvp.boby.FormBodys;
import com.lzm.ydpt.entity.UserInfo;

import io.reactivex.Observable;


/**
 * 接口名称：MainContract
 * 接口描述：Contract
 */
public interface PtMainContract {

    /**
     * 模型接口
     */
    interface Model {
        Observable<BaseResponseBean<UserInfo>> onUserInfo(FormBodys formBodys);
    }

    /**
     * 代理接口
     */
    interface Presenter {
        void getUserInfo(FormBodys formBodys);

    }

    /**
     * 视图接口
     */
    interface View extends BaseView {
        void onUserInfo(UserInfo mUserInfo);
    }
}